package jpb.module.rest.member;

import jpb.constant.Reply;
import jpb.constant.ReturnState;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RestController;

/**
 * Created by RuiHaoZ on 2017/11/20.
 * Using IntelliJ IDEA
 */
@RestController
@RequestMapping("/api")
public class IndexController {
    @RequestMapping(value = "/index", method = RequestMethod.GET)
    public String register() {
    return new Reply(0, "Spring Boot Web Is Success Loading").toJson();
    }
}
